const mongoose=require('mongoose')
let AccountSchema=new mongoose.Schema({
    category:{
        type:String,
        require:true
    },
    date:Date,
    note:String,
    amount:{
        type:Number,
        require:true
    }
})
let AccountModel=mongoose.model('accounts',AccountSchema)
module.exports=AccountModel